<!DOCTYPE html>
<html lang="cn">
<head>
	<meta charset="utf-8" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="keywords" content="艾维网" />
	<meta name="description" content="艾维网" />
	<meta name="company" content="艾维网,effvi.com"/>
	<meta content="本页版权归effvi.com所有。All Rights Reserved" name="copyright" />
	<meta name="robots" content="index,follow" />
	<meta content="艾维网,艾维,effvi，effvi.com" name="author" />
	<#include "header.ftl">
	<title>艾维网-后台管理系统</title>
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="brand" href="#">艾维网管理系统</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="active"><a href="#">首页</a></li>
              <li><a href="#about">服装</a></li>
              <li><a href="#contact">美容</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li class="divider"></li>
                  <li class="nav-header">Nav header</li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li>
            </ul>
            <#if Session.LOGIN_NAME??>
            	<form class="navbar-form pull-right">
	              <input class="span2" type="text" placeholder="Email" value="${Session.LOGIN_NAME}">
	              <input class="span2" type="password" placeholder="Password">
	              <button type="submit" class="btn">Sign in</button>
	            </form>
            <#else>
            	<form class="navbar-form pull-right">
	              <input class="span2" type="text" placeholder="Email" value="${Session.LOGIN_NAME}">
	              <input class="span2" type="password" placeholder="Password">
	              <button type="submit" class="btn">Sign in</button>
	            </form>
            </#if>
            
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
    
    
    
    <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	  <div class="modal-header">
	    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
	    <h3 id="myModalLabel">你确认要继续么?</h3>
	  </div>
	  <div class="modal-body">
	    <p>该操作存在一定的风险，您是否要继续?</p>
	  </div>
	  <div class="modal-footer">
	    <button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
	    <button class="btn btn-primary">继续</button>
	  </div>
	</div>

</body>

<script type="text/javascript">
$(function(){
	$("ul.nav li").click(function(){
		$("ul.nav li").removeClass("active");
		$(this).addClass("active");
		$("#myModal").modal();
	})
});

</script>
</html>
